//
//  WWSideslipViewController.h
//  WWSideslipViewControllerSample
//

//


#import <UIKit/UIKit.h>
#import "leftViewController.h"
#import "FunctionMenuViewController.h"
@interface WWSideslipViewController : UIViewController{
@private
    UIViewController * leftControl;
    FunctionMenuViewController * mainControl;
    UIViewController * righControl;
    
//    UIImageView * imgBackground;
    
//    CGFloat scalef;
}
@property (strong, nonatomic)UIView *cusTabView;

@property (strong, nonatomic)void(^cb)(NSInteger indexPath);
//滑动速度系数-建议在0.5-1之间。默认为0.5
@property (assign,nonatomic) CGFloat speedf;

//是否允许点击视图恢复视图位置。默认为yes
@property (strong) UITapGestureRecognizer *sideslipTapGes;
@property (strong) UISwipeGestureRecognizer * pan;
//初始化
-(instancetype)initWithLeftView:(UIViewController *)LeftView
                    andMainView:(FunctionMenuViewController *)MainView
                   andRightView:(UIViewController *)RighView
                    andBackgroundImage:(UIImage *)image;


//恢复位置
-(void)showMainView;

//显示左视图
-(void)showLeftView;

//显示右视图
-(void)showRighView;

- (void)MainViewRemovePan;

@end
